<!--
  #%L
  thinkbig-ui-app
  %%
  Copyright (C) 2017 ThinkBig Analytics
  %%
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
  #L%
  -->
<!doctype html>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <base href="/" />
    <title>福建世通整合平台 登入</title>
    <link rel="stylesheet" href="bower_components/angular-material/angular-material.min.css">
    <link rel="stylesheet" href="assets/bootstrap.css">
    <link rel="stylesheet" href="assets/all.css">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,400italic">

    <style>



        [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
            display: none !important;
        }

    </style>
</head>
<!-- login.html -->
<body  >



<header class="login-header ng-scope"  style=""><div class="container h100 ng-scope">

    <div class="row tb h100">
        <div class="cell vm">
            <a href="javascript:void(0);" class="ib logo-small vm md-kylo-theme"></a>
        </div>
    </div>

</div></header>


<!-- 内容部分 -->
<section class="login-content ng-scope">

    <div class="container">
        <div class="row ">

            <div class="bg-pic ib ">


                <div class="login-form" ng-controller="LoginController as vm" >


                    <div ng-show="vm.error" class="alert alert-danger"  ng-bind="vm.error">   </div>

                    <form name="form" action="/login" role="form" method="post">
                        <h2 class="login-form-header text-left">登录</h2>


                        <div class="form-group login-input">
                            <div class="input-group input-group">
                                        <span class="input-group-addon" >
                                            <i class="ib male"></i>
                                        </span>
                                <input type="text" name="username" id="username" class="form-control" ng-model="vm.username" required />
                            </div>
                        </div>

                        <div class="form-group login-input" >
                            <div class="input-group input-group">
                                        <span class="input-group-addon" >
                                            <i class="ib lock"></i>
                                        </span>
                                <input type="password" name="password" id="password" class="form-control" ng-model="vm.password" required />
                            </div>
                        </div>




                        <div class="checkbox">

                        </div>



                        <button class="btn btn-lg btn-primary btn-block" type="submit"  ng-disabled="form.$invalid || vm.dataLoading"   disabled="disabled">
                            <span class="no-ng" ng-hide="isSubmit">登录</span>


                            <i class="ib no-ng loading-icon loading-inverse ng-hide" ng-show="isSubmit"></i>
                        </button>

                        <input type="hidden" name="targetUrl" value="{{vm.targetUrl}}">
                    </form>



                    <!--
                                        <div layout-align="center center" flex layout="column" layout-fill>
                                            <md-card ng-controller="LoginController as vm" md-padding style="width:360px;max-width:360px;z-index: 999999;"  flex="nogrow" md-whiteframe="4">


                                                <md-card-content>

                                                    <div ng-show="vm.error" class="alert alert-danger">{{vm.error}}</div>
                                                    <form name="form" action="/login" role="form" method="post">
                                                        <div layout="column" flex layout-fill>
                                                            <md-input-container  ng-class="{ 'has-error': form.password.$dirty && form.password.$error.required }">
                                                                <label for="username">用户名</label>
                                                                <input type="text" name="username" id="username" class="form-control" ng-model="vm.username" required />
                                                                <span ng-show="form.username.$dirty && form.username.$error.required" class="help-block">用户名是必填项</span>
                                                            </md-input-container>
                                                            <md-input-container  ng-class="{ 'has-error': form.password.$dirty && form.password.$error.required }">
                                                                <label for="password">密码</label>
                                                                <input type="password" name="password" id="password" class="form-control" ng-model="vm.password" required />
                                                                <span ng-show="form.password.$dirty && form.password.$error.required" class="help-block">密码 是必填项</span>
                                                            </md-input-container>
                                                            <div class="form-actions">
                                                                <md-button type="submit" class="md-raised md-primary" ng-disabled="form.$invalid || vm.dataLoading" >登入</md-button>
                                                            </div>
                                                        </div>
                                                        <input type="hidden" name="targetUrl" value="{{vm.targetUrl}}">
                                                    </form>
                                                </md-card-content>
                                            </md-card>
                                        </div>
                    -->
                </div>


                <div class="bg-title"></div>
            </div>

            <div class="login-seq"></div>
        </div>
    </div>


</section>



<footer class="login-footer  ng-scope"   style=""><div class="text-center ng-scope">
    <ul class="footer-list">
        <li>
            <a href="javascript:void(0)" class="md-kylo-theme">关于我们</a>
        </li>
        <li>
            <a href="javascript:void(0)" class="md-kylo-theme">联系电话：1380013800</a>
        </li>
        <li>
            <a href="mailto:honeycomb@quantong.com" class="md-kylo-theme">邮箱：honeycomb@quantong.com</a>
        </li>
        <li>
            <a href="javascript:void(0)" class="end md-kylo-theme">Copyright@2015 all rights resevred</a>
        </li>
    </ul>
</div></footer>

</section>


</body>

<script data-main="login/main.js" src="bower_components/requirejs/require.js"></script>
</html>
